package response

type ManagerList struct {
	ID                uint   `json:"ID"`
	Name              string `json:"name" form:"name" gorm:"column:name;"`
	Avatar            string `json:"avatar" form:"headerImg" gorm:"column:avatar;"`
	Level             string `json:"level" form:"grade" gorm:"column:level;"`
	StudentID         string `json:"student_id" form:"studentID" gorm:"column:studentID;"`
	Score             uint   `json:"score" gorm:"column:score"`
	Stars             uint   `json:"stars"`
	Moons             uint   `json:"moons"`
	Suns              uint   `json:"suns"`
	ServiceCenterAddr string `json:"service_center_addr"`
}

type ManagerRank struct {
	ID             uint   `json:"id" gorm:"column:id"`
	Name           string `json:"name" gorm:"column:name"`
	Phone          string `json:"phone" gorm:"column:phone"`
	Grade          uint   `json:"grade" form:"grade" gorm:"column:grade;"`
	Sex            *int   `json:"sex" gorm:"column:sex"`
	PayNum         uint   `json:"payNum" gorm:"column:payNum"`
	RegisterNum    uint   `json:"registerNum"  gorm:"column:registerNum"`
	ServiceNum     uint   `json:"serviceNum" gorm:"column:served_num"`
	Score          uint   `json:"score" gorm:"column:score"`
	ServiceStation string `json:"serviceStation" gorm:"column:serviceStation"`
	ServiceCentre  string `json:"serviceCentre" gorm:"column:serviceCentre"`
}

type ManagerNameList struct {
	HmID           uint   `json:"id" gorm:"hm_id"`                             // 用户ID
	Name           string `json:"name" gorm:"name"`                            // 姓名
	Sex            uint   `json:"sex" gorm:"sex"`                              // 性别
	Phone          string `json:"phone" gorm:"phone"`                          // 手机号
	ServiceStation string `json:"serviceStation" gorm:"column:serviceStation"` // 服务站
	ServiceCenter  string `json:"serviceCenter" gorm:"column:serviceCenter"`   // 服务中心
}
